package cn.service;

import entity.Category;
import entity.Result;

public interface CategoryService {
    Result queryCategories(Integer currentPage,Integer pageSize);

    void updateNav_status(Long category_id,Integer nav_status);

    void updateShow_status(Long category_id,Integer show_status);

    Result deleteByPrimaryKey(Long category_id);

    Result addCategoryLevel0(Category category);

    Result queryByCategory_Id(Long category_id);

    Result categoryEditLevel0(Category category);

    Result queryCategoriesLevel1(Long category_id,Integer currentPage,Integer pageSize);
}
